package javalh.chapter08.com.poly;

public class Animal {


    private String name;
    public Animal(String name){
        this.name = name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }
}
